#!/usr/local/env python3
'''
Author:@南非波波
Blog:http://www.cnblogs.com/songqingbo/
E-mail:qingbo.song@gmail.com
'''
import requests


ret = requests.get("https://www.songqingbo.cn")
print(ret.headers)
print(ret.request)
print(ret.url)
print(ret.status_code)
urlList = ["http://www.apicloud.com/getAllUnpack?appId=A6962696696314&startNum=0&num=10",
           "http://www.apicloud.com/mam/getSubVersionListByAppid",
           "http://www.apicloud.com/mam/addSubVersion",
           "http://www.apicloud.com/uzampush_insert",
           "http://www.apicloud.com/getV2AppStatisticDataByAppIdAndDate",
           "http://www.apicloud.com/getCer?appId=A6962696696314",
           "http://www.apicloud.com/checkDevUser",
           "http://www.apicloud.com/bbsLogin.html",
           "http://www.apicloud.com/bingModule",
           "http://www.apicloud.com/getPKGState",
           ]

# for i in urlList:
#     try:
#         print("=============start=================")
#         print("get-url:",i)
#         print("get-status-code:",requests.get(i).status_code)
#         if requests.get(i).url == "http://www.apicloud.com/signin":
#             continue
#         print("requet url:",requests.get(i).url)
#         print("post request text:",requests.post(i).text)
#         print("get-headers:",requests.get(i).headers)
#         print("===============end==================")
#     except Exception as e:
#         print("Error:",e)
